package com.symone.webcms.mapper;

import com.symone.webcms.model.DataPage;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.symone.webcms.model.vo.DataPageVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.List;

/**
 *   @description : ContentPage Mapper 接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-03-25
 */
@Repository
public interface DataPageMapper extends BaseMapper<DataPage> {

        boolean deleteFlagById(long id);

        List<DataPageVO> selectVOList(Page<DataPageVO> page ,@Param("lang")String lang, @Param("module")String module,@Param("title")String title,@Param("moduleName")String moduleName);
}